Skip to content

feat(security): added additional security measures to next config & middleware#301

Merged
waleedlatif1 merged 2 commits intomainfrom
feat/security
Apr 26, 2025
Merged

feat(security): added additional security measures to next config & middleware#301
waleedlatif1 merged 2 commits intomainfrom
feat/security

Conversation

@waleedlatif1
Copy link
Copy Markdown
Collaborator

Description

Added additional security measures to next config & middleware after DAST scan.

Type of change

  • Security enhancement

How Has This Been Tested?

Ran the workflow manually, via API, & via schedule to confirm that the additional headers & security measures don't impact real users.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works
  • All tests pass locally and in CI (npm test)
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • I have updated version numbers as needed (if needed)
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Security Considerations:

  • My changes do not introduce any new security vulnerabilities
  • I have considered the security implications of my changes

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 26, 2025 11:48pm
sim ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 26, 2025 11:48pm

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mrge found 6 issues across 2 files. View them in mrge.io

Comment thread sim/next.config.ts Outdated
Comment thread sim/next.config.ts
Comment thread sim/next.config.ts
Comment thread sim/middleware.ts
Comment thread sim/middleware.ts
Comment thread sim/middleware.ts
@waleedlatif1 waleedlatif1 merged commit 503e07b into main Apr 26, 2025
5 checks passed
@waleedlatif1 waleedlatif1 deleted the feat/security branch April 26, 2025 23:52
RadoBoiii pushed a commit to RadoBoiii/sim-fork that referenced this pull request May 1, 2025
…iddleware (simstudioai#301)

* feat(security): added additional security measures to next config & middleware

* addressed PR comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant